# -*- encoding=utf8 -*-
import requests

class subChoiceApi(object):
    @classmethod
    def queryActionDetail(cls,parameter,token,userID,schoolID):

        parameter['UserID'] = userID
        parameter['token'] = token
        parameter['parameter']['userID'] = userID

        header={"hqjl-token":token,"hqjl-user":userID,"hqjlblkey":schoolID}

        url = "https://school.nicezhuanye.com/subjchoiceserv/getUserLatestSubjchoiceActionDetail"

        resp = requests.post(url=url,headers=header,json=parameter)

        print(resp.json())

        return resp
